//
//  AboLanuage.h
//  EyuGameSDK
//
//  Created by 李长春 on 2021/11/22.
//

#import <Foundation/Foundation.h>

NS_ASSUME_NONNULL_BEGIN
//此处的key 不允许改动
static NSString *Msg_DuplicatedOrder = @"订单重复，请重新进入游戏再试";
static NSString *Msg_RequestFailed_try = @"请求失败，请稍后再试";
static NSString *Msg_OperationFailed = @"操作失败，请咨询客服";
static NSString *Msg_NetworkFailed = @"网络不佳，请重试";
static NSString *Msg_NotAllowed = @"设备不允许内购";
static NSString *Msg_NotExist = @"没有该商品";
static NSString *Msg_PurchaseFailed = @"购买失败";
static NSString *Msg_PurchaseError = @"购买出现问题";
static NSString *Msg_UnknownError = @"未知错误";
static NSString *Msg_RequestFailed = @"请求失败";
static NSString *Msg_CancelPayment = @"取消支付";
static NSString *Msg_InvalidIdentifier = @"购买标识符无效";
static NSString *Msg_InvalidItem = @"商品无效";
static NSString *Msg_WithoutApple = @"该系统版本不可用Apple登录";
static NSString *Msg_AppleFailed = @"Apple登录失败";
static NSString *Msg_UserCanceled = @"用户取消了授权请求";  
static NSString *Msg_AuthorizationFailed = @"授权请求失败";
static NSString *Msg_InvalidAuthorization = @"授权请求响应无效";
static NSString *Msg_FailedAuthorization = @"未能处理授权请求";
static NSString *Msg_AuthorizationUnknown = @"授权请求失败未知原因";
static NSString *Msg_FacebookFailed = @"Facebook登录失败";
static NSString *Msg_CancelLogin = @"取消登录";
static NSString *Msg_InvalidUserInfo = @"用户信息缺失";
static NSString *Msg_linkError = @"地址链接错误";
static NSString *Msg_QueryFailed = @"查询失败，请检查网络";
static NSString *Msg_Switched = @"切换成功";
static NSString *Msg_BoundSuccess = @"绑定成功";
static NSString *Msg_Bound = @"已绑定";
static NSString *Msg_SwitchAccount = @"账号切换";
static NSString *Msg_Reminder = @"提示";
static NSString *Msg_AccountDetected = @"您当前已经有游客账户存在，若您继续选择切换其他账户，登录后当前的游客账户会丢失，请问您确认要继续登录吗？";
static NSString *Msg_BindingGameAccount = @"选择账户绑定的方式可以让你在数台设备中以您的账号来进行游戏！";
static NSString *Msg_Cancel = @"取消";
static NSString *Msg_Confirm = @"确定";
static NSString *Msg_BindingAccount = @"账户绑定";
static NSString *Msg_PrivacyPolicy = @"隐私协议";
static NSString *Msg_UserAgreement = @"用户协议";
static NSString *Msg_UserLogin = @"用户登录";
static NSString *Msg_LoginSuccess = @"登录成功";
static NSString *Msg_LoginExpired = @"登录已失效，请重新登录";
static NSString *Msg_OnlySupport = @"仅支持12.4及以上系统版本";
static NSString *Msg_Verificationfailed = @"验证失败";
static NSString *Msg_GameGuide = @"游戏指南";
static NSString *Msg_ProblemFeedback = @"问题反馈";
static NSString *Msg_ExistBind = @"您当前已有绑定账户存在，登录后会切换到另一个账户，请问确认要登录吗？";
//2023.10.24 迷城项目时添加
static NSString *Msg_StoreTimeOut = @"连接超时，请重试";
static NSString *Msg_StoreLinkFail = @"连接AppStore失败，请稍后再试";
static NSString *Msg_StoreNetWorkout = @"网络断开，请检查网络";


@interface AboLanuage : NSObject

//自动适配语言
+(NSString*)GetCurrentLanguage:(NSString*)msg;

//适配CP传入的语言 转出服务端可适配的语言对应值
+(NSString*)GetMatchingLanguage:(NSString*)CPlanguage;

@end

NS_ASSUME_NONNULL_END
